package com.demo.pattern.abstractFactory;

import com.demo.pattern.entity.HpKeyboard;
import com.demo.pattern.entity.HpMouse;
import com.demo.pattern.entity.Keyboard;
import com.demo.pattern.entity.Mouse;

/**
 * @author linchong
 * @version 1.0
 * @Date: 2022-05-13 7:13
 * @Description: HpComputerFactory$
 */
public class HpComputerFactory implements ComputerFactory{
	@Override
	public Mouse createMouse() {
		return new HpMouse();
	}

	@Override
	public Keyboard createKeyboard() {
		return new HpKeyboard();
	}
}
